<template>
  <div class="container">
    <topTitle :titleText="titleText" :titleExplain="titleExplain"></topTitle>
    <div class="mainCon">
      <el-row class="tipBar2">
        <el-col class="hint">
          <div class="imgLabel">
            <img
              src="../../../static/img/declare/declarePro.png"
              class="picCss"
            />
          </div>
          <div class="hintCss">
            <div>1.申报项目</div>
            <span class="fontCss">施工方申报项目</span>
          </div>
        </el-col>
        <el-col class="stepCss">
          <img src="../../../static/img/salary/stepLine.png" class="lineCss" />
        </el-col>
        <el-col class="hint">
          <div class="imgLabel">
            <img
              src="../../../static/img/declare/auditReport.png"
              class="picCss"
            />
          </div>
          <div class="hintCss">
            <div>2.审核申报</div>
            <span class="fontCss">监管部门审核申报内容</span>
          </div>
        </el-col>
        <el-col class="stepCss">
          <img src="../../../static/img/salary/stepLine.png" class="lineCss" />
        </el-col>
        <el-col class="hint">
          <div class="imgLabel">
            <img
              src="../../../static/img/declare/approved.png"
              class="picCss"
            />
          </div>
          <div class="hintCss">
            <div>3.审核通过</div>
            <el-tooltip
              content="Bottom center"
              placement="bottom"
              effect="dark"
            >
              <div slot="content">
                审核通过后企业可管理项目，项目经理<br />可使用手机号码注册账号管理项目
              </div>
              <span class="fontCss"
                >审核通过后企业可管理项目，项目经理可使用手机号码注册账号管理项目</span
              >
            </el-tooltip>
          </div>
        </el-col>
      </el-row>
      <div class="content">
        <div>
          <i
            class="el-icon-location-outline"
            style="font-size: 150px; color: #c3c3c3"
          ></i>
        </div>
        <div style="color: #c3c3c3; margin-top: 10px; margin-bottom: 10px">
          暂无项目申报记录
        </div>
        <el-button
          class="commonBut saveBtn funComBut"
          icon="icon iconfont icontianjia"
          @click="addDeclare"
        >
          <span class="opetareText">新建申报</span>
        </el-button>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: 'projectDeclareListEmpty',

  data() {
    return {
      titleText: '工程项目申报',
      titleExplain: '',
    }
  },
  created() {},
  methods: {
    addDeclare() {
      this.$router.push('/home/monitorProjectManagement/newProjectApplication')
      this.$store.commit('CHANGE_SLIDER_NAME', {
        oldUrl: '/home/project/projectDeclareList',
        newUrl: this.$router.currentRoute.fullPath,
      })
    },
  },
}
</script>

<style scoped>
.topTitle {
  height: 67px;
  background-color: #e4ebf1;
  padding-left: 24px;
  font: bold 18px/67px Microsoft YaHei;
}
.mainCon {
  top: 198px;
}
.content {
  margin: 0 auto; /*水平居中*/
  text-align: center;
  position: relative;
  top: 50%; /*偏移*/
  transform: translateY(-50%);
}
.grid-content {
  border-radius: 4px;
  min-height: 36px;
}
.tipBar2 {
  height: 88px;
  margin: 35px 20px;
}
.hint {
  float: left;
  display: block;
  width: 24%;
  padding-left: 5%;
}
.imgLabel {
  display: inline-block;
  width: 80px;
  float: left;
}
.picCss {
  height: 80px;
  width: 80px;
  font-size: 88px;
  color: #d0d0d8;
}
.lineCss {
  width: 100%;
  height: 8px;
  margin-top: 40px;
}
.stepCss {
  float: left;
  display: block;
  width: 12%;
}
.hintCss {
  display: block;
  margin-left: 85px;
  margin-top: 15px;
}
.fontCss {
  font-size: 14px;
  color: #666;
  text-overflow: -o-ellipsis-lastline;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}
.noRule {
  text-align: center;
  img {
    margin: 60px 0;
  }
}
</style>
